package com.erp.collect.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import com.ruoyi.common.core.web.oldDomain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;


/**
 * kaka采集图片分离业务对象 erp_kaka_img_fenli
 *
 * @author kaka
 * @date 2024-05-21
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class ErpKakaImgFenliBo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 图片分离后的背景图路径
     */
    @NotBlank(message = "图片分离后的背景图路径不能为空", groups = { AddGroup.class, EditGroup.class })
    private String path;

    /**
     * 接口返回的json信息 格式统一
     */
    @NotBlank(message = "接口返回的json信息 格式统一不能为空", groups = { AddGroup.class, EditGroup.class })
    private String json;

    /**
     * 原url
     */
    @NotBlank(message = "原url不能为空", groups = { AddGroup.class, EditGroup.class })
    private String url;

    /**
     * 新url
     */
    @NotBlank(message = "新url不能为空", groups = { AddGroup.class, EditGroup.class })
    private String repath;


}
